/*
 * @Author: 万仁杰
 * @Date: 2020-08-10 10:53:10
 * @LastEditTime: 2020-08-13 01:38:16
 * @LastEditors: 余文童
 * @Description: 商品服务实现类
 * @FilePath: \BackEnd\saleflower\src\main\java\com\wangwang\saleflower\service\impl\FlowerServiceImpl.java
 */
package com.wangwang.saleflower.service.impl;

import com.wangwang.saleflower.entity.Flower;
import com.wangwang.saleflower.mapper.FlowerMapper;
import com.wangwang.saleflower.service.FlowerService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;

@Service
public class FlowerServiceImpl implements FlowerService {
    @Resource
    private FlowerMapper flowermapper;

    @Override
    public Flower selectFlowerList(Integer id) {
        return flowermapper.selectFlowerList(id);
    }

    @Override
    public List<Flower> selectFlowerByKind(Integer id) {
        return flowermapper.selectFlowerByKind(id);
    }

    @Override
    public List<Flower> selectFlowerKindB() {
        return flowermapper.selectFlowerKindB();
    }

    @Override
    public List<Flower> selectFlowerKindP() {
        return flowermapper.selectFlowerKindP();
    }
}
